<template>
  <yd-navbar :title="title">
    <router-link to slot="left">
      <yd-navbar-back-icon @click.native="$router.back()"></yd-navbar-back-icon>
    </router-link>
  </yd-navbar>
</template>

<script>
export default {
  name: "header_bar",
  props: ["title"],
  data() {
    return {};
  }
};
</script>

<style scoped>
.yd-navbar {
  z-index: 9999;
}
</style>
